Syntax

Conditional conversion looks like that:
<$IF expression>

  ...if part...

[
<$ELSE>

  ...optional else part...

]

</$IF>

Example

A good example for the usage of conditional conversion inside a macro is the WEBPAGE macro used to create the documentation for .

It also shows how to create a navigation bar with optional references to a next and previous page.

<$include file="inc/webpage.hsc" SOURCE>

Notes

$IF .. is nestable.

You can't compare 's $IF .. to #if of the C-preprocessor. The main difference is that you can use $IF .. inside macros and that expressions are recalculated for every new call of the macro.